﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    public enum NPCType
    {
        Task,
        Shop,
        Blacksmith
    }
   abstract class NPC
    {
        private string name;
        private string NPCType;

        public string Name { get => name; set => name = value; }
        public string nPCType { get => NPCType; set => NPCType = value; }
        public NPC(string name,NPCType nPCType)
        {
            this.name = name;
            this.nPCType = NPCType;
          }
        public abstract void Speak();
    }
}
